import { http } from '@/utils/http.ts'
import type { SearchTipsResponse } from '@/types/search.ts'

// 搜索提示语(接口是坏的)
export const searchTipsApi = (keyword: string) => {
  return http<SearchTipsResponse>({
    method: 'GET',
    url: '/search/tips',
    data: {
      keyword,
    },
  })
}
